MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "query": {
        "pages": [
            {
                "ns": 0,
                "title": "API",
                "missing": ""
            },
            {
                "pageid": 1,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "FlyingFork",
                        "timestamp": "2021-12-23T21:10:43Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "__NOTOC__\n===Getting started===\n<html>\n<div class=\"card\">\n  <a href=\"/wiki/DedicatedServer\">\n  <img src=\"/images/1/19/CardServer.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Server</b></h4> \n    <p>Learn how to setup your own local or dedicated server.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/packages\">\n  <img src=\"/images/c/ce/CardScripting.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Packages</b></h4> \n    <p>Creating script packages for your server.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/server_config\">\n  <img src=\"/images/b/b7/CardServerConfig.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Server Configuration</b></h4> \n    <p>Documentation about configuring your server.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/weapons_config\">\n  <img src=\"/images/f/fb/CardWeaponsConfig.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Weapons Configuration</b></h4> \n    <p>Documentation about configuring custom weapons.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Modding\">\n  <img src=\"/images/6/62/CardModdingAssets.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Modding</b></h4> \n    <p>Modding tutorial for importing custom 3D models, levels and more.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Custom_Connect_Screen\">\n  <img src=\"/images/4/4d/CardCustomConnectScreen.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Custom Connect Screen</b></h4> \n    <p>Setting up your own custom connect screen for your server.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Custom_Maps\">\n  <img src=\"/images/3/3e/CardCustomMap.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Custom Maps</b></h4> \n    <p>Learn how to create custom maps for Onset.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Debugging\">\n  <img src=\"/images/8/81/CardDebugging.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Debugging</b></h4> \n    <p>Debugging your Onset scripts and user interfaces.</p> \n  </div>\n  </a>\n</div>\n<div style=\"clear: both;\"></div>\n</html>\n\n===Lua Functions and Events===\n<html>\n<div class=\"card\">\n  <a href=\"/wiki/Template:ServerFunctions\">\n  <img src=\"/images/c/ce/CardScripting.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Server Functions</b></h4> \n    <p>See a list of server functions.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Template:ClientFunctions\">\n  <img src=\"/images/c/ce/CardScripting.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Client Functions</b></h4> \n    <p>See a list of client functions.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Template:ServerEvents\">\n  <img src=\"/images/c/ce/CardScripting.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Server Events</b></h4> \n    <p>See a list of server events.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Template:ClientEvents\">\n  <img src=\"/images/c/ce/CardScripting.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Client Events</b></h4> \n    <p>See a list of client events.</p> \n  </div>\n  </a>\n</div>\n<div style=\"clear: both;\"></div>\n</html>\n\n===Game models and more===\n<html>\n<div class=\"card\">\n  <a href=\"/wiki/Vehicles\">\n  <img src=\"/images/4/48/CardVehicles.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Vehicles</b></h4> \n    <p>List of vehicles to spawn.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Objects\">\n  <img src=\"/images/4/46/CardObjects.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Objects</b></h4> \n    <p>List of objects to spawn.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Weapons\">\n  <img src=\"/images/6/6c/CardWeapons.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Weapons</b></h4> \n    <p>List of weapons for players.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/AnimationList\">\n  <img src=\"/images/c/ca/CardAnimations.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Animation List</b></h4> \n    <p>Player and NPC animations.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Doors\">\n  <img src=\"/images/7/7e/CardDoors.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Doors</b></h4> \n    <p>List of working doors.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Clothing\">\n  <img src=\"/images/2/20/CardClothing.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Clothing</b></h4> \n    <p>Learn how to use clothing items.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Apartment_Interior\">\n  <img src=\"/images/3/36/Apartment_Card.jpg\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Apartments</b></h4> \n    <p>Spawn a premade apartment interior.</p> \n  </div>\n  </a>\n</div>\n<div style=\"clear: both;\"></div>\n</html>\n\n===Constants===\n* [[HitType|Hit type]]\n* [[PlayerState|Player State types]]\n* [[InputModes|Input mode]]\n* [[EditModes|Edit modes]]\n* [[WebVisibility|Web Visibility]]\n* [[AttachType|Attach type]]\n* [[FloorTypes|Floor types]]\n* [[MovementModes|Movement Modes]]\n\n===Other===\n* [[ClientParameters|Client parameters and folders]]\n* [[LuaHelper|Useful Lua helper functions]]\n* [[UnrealLua]]\n* [[Debugging|Debugging, crash handling and client console]]\n* [[UpdateDiscordActivity|Custom Discord client id]]\n* [[Template:HttpFunctions|Serverside HTTP client]]\n* [https://github.com/alexandregv/awesome-onset Gamemodes, Packages, Scripts and Libraries for Onset]\n* [[Limitations]]\n* [[OnsetDocker|Onset with Docker]]\n* [[Getting_Started_with_CSharp_(Server-Side)|Getting Started with C#]]\n\n===Plugins and Database===\n<html>\n<div class=\"card\">\n  <a href=\"/wiki/MariaDB\">\n  <img src=\"/images/b/b0/CardMariaDB.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>MariaDB</b></h4> \n    <p>MariaDB (MySQL) setup for Onset.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"/wiki/Template:MariaDBFunctions\">\n  <img src=\"/images/b/b0/CardMariaDB.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>MariaDB Functions</b></h4> \n    <p>How use databases in Lua.</p> \n  </div>\n  </a>\n</div>\n<div class=\"card\">\n  <a href=\"https://playonset.com/monetization\">\n  <img src=\"/images/d/d2/CardMonetization.png\" alt=\"CardImage\" style=\"width:100%;\">\n  <div class=\"cardcontainer\">\n    <h4><b>Monetization</b></h4> \n    <p>Monetizing your server using Tebex service.</p> \n  </div>\n  </a>\n</div>\n</html>"
                            }
                        },
                        "comment": "/* Other */"
                    }
                ]
            }
        ]
    }
}